package abstractFactory;

public class Main {
    public static void main(String[] args) {
        Factory factory = new FactoryImplByBeijing();
        factory.get(Apple.class).get();
//        factory.get(Banana.class).get();

        Factory factory2 = new FactoryImplByNanjing();
        factory2.get(Apple.class).get();
//        factory2.get(Banana.class).get();
    }
}
